﻿<Window x:Class="MContracts.Controls.Dialogs.SaveSchemeDialog"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="179" d:DesignWidth="426" Width ="430" Height="180" SizeToContent="WidthAndHeight" WindowStyle="SingleBorderWindow" WindowStartupLocation="CenterOwner" ResizeMode="NoResize" Title="Сохранить схему">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="100"></RowDefinition>
            <RowDefinition Height="*"></RowDefinition>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*"></ColumnDefinition>
        </Grid.ColumnDefinitions>
        <GroupBox Grid.Column="0" Grid.Row="0" Header="Название схемы">
            <TextBox Margin="5,25,5,25" Name="txtSchemeName" TextChanged="txtSchemeName_TextChanged"></TextBox>
        </GroupBox>
        <Button Grid.Row="1" Grid.Column="0" Width="105" Margin="180, 5, 120, 5" x:Name="btnOk" Click="btnOk_Click">ОК</Button>
        <Button Grid.Row="1" Margin="0,5,10,5" x:Name="btnCancel" HorizontalAlignment="Right" Width="105" Click="btnCancel_Click">Отмена</Button>
    </Grid>

</Window>
